PVBCF7Calculator\lib\Math\BigDecimal C

Total Complexity 101
Dependencies 8
Dependents 3
Total lines 748
Lines of code 323
Logical lines of code 196
Comment lines 294
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
dividedBy()
S
55 7 18
exactlyDividedBy()
S
53 5 21
getUnscaledValueWithLeadingZeros()
S
55 5 20
stripTrailingZeros()
S
56 5 19
power()
S
57 5 18
withPointMovedRight()
S
57 5 17
scaleValues()
S
64 5 9
plus()
S
62 4 10
minus()
S
62 4 10
quotientAndRemainder()
S
58 3 15
compareTo()
S
62 3 11
remainder()
S
62 3 11
unserialize()
S
65 3 8
getSign()
S
77 3 3
valueWithMinScale()
S
68 3 7
withPointMovedLeft()
S
65 3 9
multipliedBy()
S
64 3 9
quotient()
S
63 2 10
abs()
S
79 2 3
ten()
S
69 2 7
one()
S
69 2 7
zero()
S
69 2 7
ofUnscaledValue()
S
69 2 6
getIntegral()
S
68 2 7
getFraction()
S
68 2 7
toBigInteger()
S
67 2 8
__toString()
S
68 2 7
toScale()
S
70 2 6
toFloat()
S
80 1 3
serialize()
S
80 1 3
__construct()
S
77 1 4
toInt()
S
81 1 3
toBigRational()
S
71 1 5
toBigDecimal()
S
82 1 3
getScale()
S
82 1 3
getUnscaledValue()
S
80 1 3
of()
S
79 1 3
negated()
S
79 1 3